package designpattern.factorypattern;

/**
 * @author hubb
 * @Date 2019/3/28 23:45
 */
public class FactoryPatternDemo {
    public static void main(String[] args) {
        String data = "";
        ExportFactory exportFactory = new ExportHtmlFactory();
        ExportFile ef = exportFactory.factory("financial");
        ef.export(data);
    }
}
